package lt.marsrutai.mobile.android.util;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Calendar;

public class HourMinuteFormat {

    private static DateFormat format = new SimpleDateFormat("HH:mm");

    private HourMinuteFormat() {

    }

    public static String format(Calendar calendar) {
        return format.format(calendar.getTime());
    }
}
